package org.catspaw.cherubim.persistence.repository;

import org.apache.commons.discovery.tools.DiscoverSingleton;

public class DiscoveryRepositoryBuilder implements RepositoryBuilder {

	public <T extends Repository> T buildRepository(Class<T> interfaceClass)
			throws BuildRepositoryException {
		return DiscoverSingleton.find(interfaceClass);
	}
}
